CONFIG += qt release
QT += opengl

MOC_DIR=.tmp
UI_DIR=.tmp

 
unix {
  OBJECTS_DIR=.obj
 QMAKE_CXXFLAGS += -O3  -w   $$system(coin-config  --cppflags)
 LIBS += $$system(coin-config  --libs)  $$system(soqt-config  --libs)
 
}

win32 {
 CONFIG +=  console  
 DEFINES +=  SOQT__DLL
 LIBS += -lSoQt -lCoin -lQtOpenGl4 -lQtGui4 -lQtCore4 \
         -lQt3Support4 -lCoin -lopengl32 \
          -lgdi32 -lwinmm -luser32
}
 
FORMS += main.ui face_cutter_trace_dialog.ui simulation.ui

SOURCES += marching_cubes.cpp \
 main.cpp \
 dexel.cpp \
 dexelfield.cpp \
 cutter.cpp \
 position_solutions.cpp \
 stl_parser.cpp \
 drop_cutter.cpp \
 mainwin.cpp \
 open_model.cpp \
 face_cutter_trace_dialog.cpp \
 simulationwin.cpp \
 heightfield.cpp \
 boxtests.cpp \
funs.cpp

HEADERS += marching_cubes.hpp \
 dexel.hpp \
 dexelfield.hpp \
 point.hpp \
 cutter.hpp \
 position_solutions.h \
 stl_parser.hpp \
 drop_cutter.hpp \
 mainwin.hpp \
 scenegraph.hpp \
 face_cutter_trace_dialog.hpp \
 simulationwin.hpp \
 heightfield.hpp \
 notifiers.hpp \
 boxtests.hpp


TEMPLATE = app
